Inheritance diagram for Exponent::GUI::Controls::CLevelMeter:

Definition at line 32 of file CLevelMeter.hpp.
| Exponent::GUI::Controls::CLevelMeter::CLevelMeter | ( | IControlRoot * | root, | |
| const long | uniqueId, | |||
| const CRect & | area, | |||
| const long | numberOfSteps | |||
| ) |
Construction
| root | The root control that this control is being added to | |
| uniqueId | The unique Identifier of this control or CCONTROL_NO_ID_REQUIRED if no id is required | |
| area | The area of this control relative to the root controls top left | |
| numberOfSteps | The number of divisions to the level meter |
| virtual Exponent::GUI::Controls::CLevelMeter::~CLevelMeter | ( | ) | [virtual] |
Destruction
| virtual void Exponent::GUI::Controls::CLevelMeter::drawControl | ( | CGraphics & | graphics | ) | [virtual] |
Draw the control
| graphics | The graphics context |
Reimplemented from Exponent::GUI::Controls::CControl.
| virtual void Exponent::GUI::Controls::CLevelMeter::setLineColour | ( | const CAlphaColour & | lineColourMin, | |
| const CAlphaColour & | lineColourMax | |||
| ) | [virtual] |
Set the line colour
| lineColourMin | The min value line colour | |
| lineColourMax | The max value line colour |
| virtual void Exponent::GUI::Controls::CLevelMeter::setValue | ( | const double | value | ) | [virtual] |
Set the value
| value | The level of the meter, scaled 0 - 1 |
Reimplemented from Exponent::GUI::Controls::CControl.
long Exponent::GUI::Controls::CLevelMeter::deltaPerStep[3] [protected] |
Delta RGB values for each stage
Definition at line 93 of file CLevelMeter.hpp.
CDimension Exponent::GUI::Controls::CLevelMeter::m_gradingDimension [protected] |
Size of the grading
Definition at line 90 of file CLevelMeter.hpp.
bool Exponent::GUI::Controls::CLevelMeter::m_isVertical [protected] |
Are we vertical or horizontal
Definition at line 89 of file CLevelMeter.hpp.
CAlphaColour Exponent::GUI::Controls::CLevelMeter::m_lineColourMax [protected] |
The max value line colour
Definition at line 92 of file CLevelMeter.hpp.
CAlphaColour Exponent::GUI::Controls::CLevelMeter::m_lineColourMin [protected] |
The min value line colour
Definition at line 91 of file CLevelMeter.hpp.
long Exponent::GUI::Controls::CLevelMeter::m_numberOfSteps [protected] |
How many stages
Definition at line 88 of file CLevelMeter.hpp.
long Exponent::GUI::Controls::CLevelMeter::m_numberToDraw [protected] |
Total stages to draw
Definition at line 87 of file CLevelMeter.hpp.